<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<?php include_http_metas() ?>
<?php include_metas() ?>
<?php include_title() ?>
<link rel="shortcut icon" href="/favicon.ico" />
<meta name='yandex-verification' content='7e524239f94fb72e' />
<?php include_stylesheets() ?>
<?php include_javascripts() ?>
</head>
<body onload="showpath();">

<div class="wrapper">

	<!-- Header block -->
	<div id="header">
		<?php echo link_to('&nbsp;','default/index',array('class'=>'logo','title'=>'IpLife'))?>
		<div class="date_banner"><noindex>		
			<?php include_component('banners','get728x90')?></noindex>
			<?php include_partial('default/topbarlinks')?>
		</div>
		<ul class="menu">
			<li <?php echo ($sf_context->getModuleName()=='default' && !$sf_user->getAttribute('s_page'))?"class='active'":''?>><?php echo link_to('Главная','default/index');?></li>
			<li <?php echo ($sf_context->getModuleName()=='news')?"class='active'":''?>><?php echo link_to('Новости','news/index');?></li>
			<li <?php echo ($sf_context->getModuleName()=='articles')?"class='active'":''?>><?php echo link_to('Статьи','articles/index');?><!-- a href="javascript://" onclick="$('#sub_articles').show()">Статьи</a--></li>
			<li <?php echo ($sf_context->getModuleName()=='releases')?"class='active'":''?>><?php echo link_to('Релизы','releases/index');?></li>
			<li <?php echo ($sf_context->getModuleName()=='tenders')?"class='active'":''?>><?php echo link_to('Тендеры','tenders/index');?></li>
			<li
				<?php echo ($sf_context->getModuleName()=='events')?"class='active'":''?>><?php echo link_to('Мероприятия','events/index');?></li>
			<li <?php echo ($sf_context->getModuleName()=='default' && $sf_user->getAttribute('s_page')=='commercial')?"class='active'":''?>><?php echo link_to('Реклама на портале','default/page?alias=commercial')?></li>
			<li><a href="<?php echo url_for('default/index').'forum'; ?>">Форум</a></li>
		</ul>
	</div>

	<?php include_component('default','articles_categories')?>
	<?php include_component('default','releases_categories')?>
	<!-- Breadcrumbs -->
	<ul class="breadcrumbs">
	<?php include_slot('breadcrumbs'); ?>
	</ul>
	<!-- Main container -->
	<div id="container">
	  <div id="center" class="column">
	  	<div class="content"><?php echo $sf_content ?></div>
	  </div>
	  <div id="left" class="column">
		<?php include_component('default','loginbox')?>
		<?php include_slot('catalog_menu') ?>
	  	<br /><br />
	  	<?php include_component('banners','get240x350left')?>
	  </div>	  
	</div>

	<!-- Footer block -->
	<?php include_partial('default/footer')?>
</div>
</body>
</html>
